package com.xh.bussiness.tms.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xh.bussiness.system.bean.dto.StudentDto;
import com.xh.bussiness.system.model.Student;
import com.xh.bussiness.tms.bean.request.ClassRequest;
import com.xh.bussiness.tms.bean.request.ClassStudentRequest;
import com.xh.bussiness.tms.model.Class;
import com.xh.core.bean.XhPage;
import com.xh.core.service.IBaseService;

import java.util.List;

public interface IClassManageService extends IBaseService<Class> {
    XhPage<Class> queryByPage(XhPage page, ClassRequest bean);

    boolean addStudents(ClassStudentRequest classStudentRequest);

    List<Class> queryClassByTeacherId(String teacherId,String subjectId);

    List<Class> queryClassByIds(List<String> ids);

    void saveOrUpdate(Class cls);

    XhPage<StudentDto> queryStudentsByClassId(XhPage page, String classId, String name);

    Class queryClassByThridId(String thirdId, String source);
}
